<template>
  <button class="base-button" type="button">
    <slot name="icon">❌</slot>
    按钮 点我
    <slot name="times"> 一</slot>
  </button>
</template>

<script>
export default {
  name: 'BaseButton',
}
</script>

<style>
.base-button {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dcdfe6;
  color: #606266;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  transition: 0.1s;
  font-weight: 500;
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 4px;
}
.base-button:hover {
  color: #568493;
  border-color: #c0cad6;
  background-color: #c0cad6;
}
</style>
